-
-
Couldn't load subscription status.
- Fork 6
Enable Docker build checks #872
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
https://docs.docker.com/build/checks/ A Docker build will now fail if there is a violation against one of the built-in Docker validation rules
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a changelog entry.
I also asked elsewhere but can't recall where.. what should we do about the hadolint failures around apt package versioning?
Non-admins won't be able to merge if the errors aren't resolved (I don't think).
We can either add a rule to ignore those checks (so it works as it always has), or pin the versions - which is a bit of work and will constantly need changing.
# Conflicts: # spark-k8s/Dockerfile
|
Changelog has been added as to your other question: the pre-commit checks are optional for now, I'd be happy to add a rule ignoring those packaging things for now until we get to it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Enable Docker build checks
https://docs.docker.com/build/checks/
A Docker build will now fail if there is a violation against one of the built-in Docker validation rules
I did manually build all images and fixed all validation warnings that popped up. Most were not bad but two were an actual bug (spark & kafka-testing-tools, both not bad)
Definition of Done Checklist
TIP: Running integration tests with a new product image
The image can be built and uploaded to the kind cluster with the following commands:
See the output of
baketo retrieve the image tag for<image-tagged-with-the-major-version>.